package com.providersave.mapper;

import pojo.InStorage;

import java.util.Date;
import java.util.List;

public interface InStorageMapper {
    Integer addInStorage(InStorage inStorage);
    Integer removeInStorageById(Integer id);
    Integer modifyInStorage(InStorage inStorage);
    List<InStorage> findInStorageByPaging(Integer pageIndex, Integer pageSize);
    Integer findInStorageCount();
    List<InStorage> findInStorageByCondition(String Condition, Date startTime, Date endTime, Integer type, Integer pageIndex, Integer pageSize);
    Integer findInStorageCountByCondition(String condition,Date startTime,Date endTime,Integer type);
}
